package com.wwj.study.proxy.dynamics;

import com.wwj.study.proxy.Person;
import com.wwj.study.proxy.Zhangsan;

/**
 * Created by lenovo on 2018/11/17.
 */
public class JDKJobTest {

    public static void main(String[] args) {
        Object object= new JDKJob().getInstance(new Zhangsan());
        System.out.println(object.getClass());
        Person person = (Person)object;

        person.findLove();
    }
}
